/**
 * @(#)FoodCommonManager.java
 *
 * Copyright (c) 2014-2014  苏州犀牛网络科技有限公司 版权所有
 * xiniunet. All rights reserved.
 *
 * This software is the confidential and proprietary
 * information of  xiniunet.
 * ("Confidential Information"). You shall not disclose
 * such Confidential Information and shall use it only
 * in accordance with the terms of the contract agreement
 * you entered into with xiniunet.
 */
package com.showcal.thermalcontrol.biz;

import com.showcal.thermalcontrol.request.*;
import com.showcal.thermalcontrol.response.*;
import com.xiniunet.framework.security.Passport;
import com.showcal.thermalcontrol.request.*;
import com.showcal.thermalcontrol.response.*;

/**
 * Created by 顾志雄 on 2015-11-03 11:23:06.
 * @author 顾志雄
 */
public interface FoodCommonManager {
    /**
     * 根据Id获取常见食物
     *
     * @param request 获取常见食物请求
     * @param passport 用户护照
     * @return 获取常见食物应答
     */
    FoodCommonGetResponse get(FoodCommonGetRequest request, Passport passport);


    /**
     * 模糊查询常见食物
     *
     * @param request 模糊查询常见食物请求
     * @param passport 用户护照
     * @return 模糊查询常见食物应答
     */
    FoodCommonSearchResponse search(FoodCommonSearchRequest request, Passport passport);

    /**
     * 高级查询常见食物
     *
     * @param request 高级查询常见食物请求
     * @param passport 用户护照
     * @return 高级查询应答
     */
    FoodCommonFindResponse find(FoodCommonFindRequest request, Passport passport);

    /**
     * 获取所有常见食物列表
     *
     * @param request 获取所有常见食物列表请求
     * @param passport 用户护照
     * @return 获取所有常见食物列表应答
     */
    FoodCommonGetAllListResponse getAllList(FoodCommonGetAllListRequest request, Passport passport);


    /**
     * 创建常见食物
     *
     * @param request 创建常见食物请求
     * @param passport 用户护照
     * @return 创建常见食物应答
     */
    FoodCommonCreateResponse create(FoodCommonCreateRequest request, Passport passport);


    /**
     * 更新常见食物
     *
     * @param request 更新常见食物请求
     * @param passport 用户护照
     * @return 更新常见食物应答
     */
    FoodCommonUpdateResponse update(FoodCommonUpdateRequest request, Passport passport);


    /**
     * 删除常见食物
     *
     * @param request 删除常见食物请求
     * @param passport 用户护照
     * @return 删除常见食物应答
     */
    FoodCommonDeleteResponse delete(FoodCommonDeleteRequest request, Passport passport);

    


    /**
     * 导入常见食物
     *
     * @param request 导入常见食物请求
     * @param passport 用户护照
     * @return 导入常见食物应答
     */
    FoodCommonListImportResponse importList(FoodCommonListImportRequest request, Passport passport);


}
